package com.css.fxfzypg.base.user.repository;

import com.css.fxfzypg.base.user.repository.entity.CertificationEntity;
import java.util.Date;

public interface CertificationRepository{

    CertificationEntity findById(String userId);

   public void unlockLoginFail(String userId, String updateUser, Date updateTime) ;

    public void resetLoginFail(String userId, String updateUser, Date updateTime) ;

    public void updateLoginFailTime(String userId, String updateUser, Date updateTime) ;

    public void loginFailLock(String userId, Date loginFailTime, String updateUser, Date updateTime) ;

   public void addLoginFailNum(String userId, String updateUser, Date updateTime) ;

   void save(CertificationEntity certification);

}
